package fr.upmc.i3s.fuglmeyeranalyser.models.solutions;

import fr.upmc.i3s.fuglmeyeranalyser.patients.Patient;

public abstract class AbstractSolution implements ISolution {
	
	private Patient patient;
	
	public AbstractSolution(Patient patient) {
		this.patient = patient;
	}
	
	public AbstractSolution() {
		this.patient = null;
	}

	@Override
	public Patient getPatient() {
		return patient;
	}

	@Override
	public String toString() {
		return "Solution [patient=" + patient + "]";
	}
	
	@Override
	public String toUserString() {
		return "Patient="+patient.getId();
	}
	
}
